home *** CD-ROM | disk | FTP | other *** search
/ TeX 1995 July / TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO / tex-k / tex-k-archive.past / 1994.11.gz / 1994.11 / 000111_tim@maths.tcd.ie_Thu Nov 17 14:38:38 1994.msg < prev    next >
Internet Message Format  |  1994-11-30  |  3KB

  1. Received: from salmon.maths.tcd.ie by cs.umb.edu with SMTP id AA25663
  2.   (5.65c/IDA-1.4.4 for <tex-k@cs.umb.edu>); Thu, 17 Nov 1994 14:38:38 -0500
  3. Received: from hamilton.maths.tcd.ie by salmon.maths.tcd.ie  with SMTP
  4.           id aa01103; 17 Nov 94 14:35 GMT
  5. Subject: Re: MODES FOR DVIPS(K)
  6. To: "A. Possolo" <antonio@espresso.rt.cs.boeing.com>
  7. Date: Thu, 17 Nov 1994 14:35:04 (GMT)
  8. From: Timothy Murphy <tim@maths.tcd.ie>
  9. Cc: tex-k@cs.umb.edu
  10. In-Reply-To: <9411161925.AA10835@espresso.rt.cs.boeing.com> from "A. Possolo" at Nov 16, 94 11:25:34 am
  11. X-Mailer: ELM [version 2.4 PL21]
  12. Mime-Version: 1.0
  13. Content-Type: text/plain; charset=US-ASCII
  14. Content-Transfer-Encoding: 7bit
  15. Content-Length: 2215      
  16. Message-Id:  <9411171435.aa10254@hamilton.maths.tcd.ie>
  17.  
  18. > Of course, the solution that would be most welcome, would be to ensure
  19. > that M does get overridden as successive config files, etc. are read,
  20. > each time dvips goes through its paces -- I'm afraid I do not know
  21. > enough to attempt that, and can only hope that you, or someone as
  22. > knowledgeable as you, will come up with a fix.
  23.  
  24. I believe the little patch I circulated (not mine, incidentally) 
  25. solves this problem.
  26.  
  27. =================================================
  28. *** dvips.c.orig    Sun Oct 23 21:58:23 1994
  29. --- dvips.c    Fri Nov 11 15:44:52 1994
  30. ***************
  31. *** 129,134 ****
  32. --- 129,135 ----
  33.   Boolean disablecomments ;     /* should we suppress any EPSF comments? */
  34.   char *printer ;               /* what printer to send this to? */
  35.   char *mfmode;                  /* default MF mode */
  36. + int mfmode_option = 0;        /* mfmode was set by command-line option? */
  37.   frametype frames[MAXFRAME] ;  /* stack for virtual fonts */
  38.   fontdesctype *baseFonts[256] ; /* base fonts for dvi file */
  39.   integer pagecost;               /* memory used on the page being prescanned */
  40. ***************
  41. *** 443,449 ****
  42.      int firstext = -1 ;
  43.   #endif
  44.      register sectiontype *sects ;
  45. -    int mfmode_option = 0;
  46.   
  47.      kpse_set_progname (argv[0]);
  48.      
  49. --- 444,449 ----
  50. *** resident.c.orig    Sun Oct 23 21:54:01 1994
  51. --- resident.c    Fri Nov 11 15:43:05 1994
  52. ***************
  53. *** 82,87 ****
  54. --- 82,88 ----
  55.   extern int vmaxdrift ;
  56.   extern char *printer ;
  57.   extern char *mfmode ;
  58. + extern int mfmode_option;
  59.   extern Boolean sendcontrolD ;
  60.   extern unsigned lastresortsizes[] ;
  61.   extern integer hoff, voff ;
  62. ***************
  63. *** 403,409 ****
  64.   case 'M' :
  65.            /* If we had the compilation default, replace it. But
  66.               if they specified one with -mode, keep it.  */
  67. !          if (!mfmode)
  68.              mfmode = configstring(was_inline+1, 0) ;
  69.            break ;
  70.   case 'o' :
  71. --- 404,410 ----
  72.   case 'M' :
  73.            /* If we had the compilation default, replace it. But
  74.               if they specified one with -mode, keep it.  */
  75. !          if (!mfmode_option)
  76.              mfmode = configstring(was_inline+1, 0) ;
  77.            break ;
  78.   case 'o' :
  79. =================================================
  80.  
  81. Tim
  82.